#include "Subject.h"
#include <vector>
#include <iostream>
using namespace std;

void Subject::NotifyAll()
{
	vector<Observer *>::iterator i;
	for(i = Observers.begin();i != Observers.end();++i)
		(*i)->update(this);
}

